package com.ben.multiple.shard.springjdbc.mp;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@TableName("t_book")
@Data
public class Book {

    private Integer bookId;
    private Long year;
    private String bookName;
    private String author;
    private String remark;

    public Book() {
    }

    public Book(Integer bookId, Long year, String bookName, String author, String remark) {
        this.bookId = bookId;
        this.year = year;
        this.bookName = bookName;
        this.author = author;
        this.remark = remark;
    }

}
